package com.py.inbound.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * ${subTable.functionName}对象 od_sale_rejected_details
 * 
 * @author 童佳
 * @date 2024-12-12
 */
public class OdSaleRejectedDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 销售明细ID */
    private Integer srDetailsId;

    /** 销售退货单号 */
    @Excel(name = "销售退货单号")
    private String srCode;

    /** 货品名称 */
    @Excel(name = "货品名称")
    private String productName;

    /** 货品编号 */
    @Excel(name = "货品编号")
    private String productCode;

    /** 货品类型 */
    @Excel(name = "货品类型")
    private String productType;

    /** 规格型号 */
    @Excel(name = "规格型号")
    private String productModel;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /** 销售数量 */
    @Excel(name = "销售数量")
    private Long saleNum;

    /** 本次退货数量 */
    @Excel(name = "本次退货数量")
    private Integer rejectedNum;

    /** 已出库 */
    @Excel(name = "已出库")
    private Long notyetNum;

    /** 销售单价 */
    @Excel(name = "销售单价")
    private BigDecimal salePrice;

    /** 退货金额 */
    @Excel(name = "退货金额")
    private BigDecimal rejectedPrice;

    public Integer getAlreadyNum() {
        return alreadyNum;
    }

    public void setAlreadyNum(Integer alreadyNum) {
        this.alreadyNum = alreadyNum;
    }

    public Integer getNotStocked() {
        return notStocked;
    }

    public void setNotStocked(Integer notStocked) {
        this.notStocked = notStocked;
    }

    /** 逻辑删除 */
    @Excel(name = "逻辑删除")
    private String isDel;
    private Integer alreadyNum;//已入库
    private Integer notStocked;//未入库

    public void setSrDetailsId(Integer srDetailsId)
    {
        this.srDetailsId = srDetailsId;
    }

    public Integer getSrDetailsId()
    {
        return srDetailsId;
    }
    public void setSrCode(String srCode) 
    {
        this.srCode = srCode;
    }

    public String getSrCode() 
    {
        return srCode;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setProductCode(String productCode) 
    {
        this.productCode = productCode;
    }

    public String getProductCode() 
    {
        return productCode;
    }
    public void setProductType(String productType) 
    {
        this.productType = productType;
    }

    public String getProductType() 
    {
        return productType;
    }
    public void setProductModel(String productModel) 
    {
        this.productModel = productModel;
    }

    public String getProductModel() 
    {
        return productModel;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setSaleNum(Long saleNum) 
    {
        this.saleNum = saleNum;
    }

    public Long getSaleNum() 
    {
        return saleNum;
    }
    public void setRejectedNum(Integer rejectedNum)
    {
        this.rejectedNum = rejectedNum;
    }

    public Integer getRejectedNum()
    {
        return rejectedNum;
    }
    public void setNotyetNum(Long notyetNum) 
    {
        this.notyetNum = notyetNum;
    }

    public Long getNotyetNum() 
    {
        return notyetNum;
    }
    public void setSalePrice(BigDecimal salePrice) 
    {
        this.salePrice = salePrice;
    }

    public BigDecimal getSalePrice() 
    {
        return salePrice;
    }
    public void setRejectedPrice(BigDecimal rejectedPrice) 
    {
        this.rejectedPrice = rejectedPrice;
    }

    @Override
    public String toString() {
        return "OdSaleRejectedDetails{" +
                "srDetailsId=" + srDetailsId +
                ", srCode='" + srCode + '\'' +
                ", productName='" + productName + '\'' +
                ", productCode='" + productCode + '\'' +
                ", productType='" + productType + '\'' +
                ", productModel='" + productModel + '\'' +
                ", unit='" + unit + '\'' +
                ", saleNum=" + saleNum +
                ", rejectedNum=" + rejectedNum +
                ", notyetNum=" + notyetNum +
                ", salePrice=" + salePrice +
                ", rejectedPrice=" + rejectedPrice +
                ", isDel='" + isDel + '\'' +
                ", alreadyNum=" + alreadyNum +
                ", notStocked=" + notStocked +
                '}';
    }

    public BigDecimal getRejectedPrice()
    {
        return rejectedPrice;
    }
    public void setIsDel(String isDel) 
    {
        this.isDel = isDel;
    }

    public String getIsDel() 
    {
        return isDel;
    }


}
